
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-shengriliwu"></i>
                    <div class="name">生日礼物</div>
                    <div class="fontclass">.icon-shengriliwu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tianmaohaoquan"></i>
                    <div class="name">天猫好券</div>
                    <div class="fontclass">.icon-tianmaohaoquan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shuru"></i>
                    <div class="name">输入</div>
                    <div class="fontclass">.icon-shuru</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yiguanzhu"></i>
                    <div class="name">已关注</div>
                    <div class="fontclass">.icon-yiguanzhu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-weiguanzhu"></i>
                    <div class="name">未关注</div>
                    <div class="fontclass">.icon-weiguanzhu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fenxiang"></i>
                    <div class="name">分享</div>
                    <div class="fontclass">.icon-fenxiang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-sousuo"></i>
                    <div class="name">搜索</div>
                    <div class="fontclass">.icon-sousuo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yiguanzhu1"></i>
                    <div class="name">已关注</div>
                    <div class="fontclass">.icon-yiguanzhu1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dianpu"></i>
                    <div class="name">店铺</div>
                    <div class="fontclass">.icon-dianpu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wo"></i>
                    <div class="name">我</div>
                    <div class="fontclass">.icon-wo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-huanyipi"></i>
                    <div class="name">换一批</div>
                    <div class="fontclass">.icon-huanyipi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zan"></i>
                    <div class="name">赞</div>
                    <div class="fontclass">.icon-zan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pengyouquan"></i>
                    <div class="name">朋友圈</div>
                    <div class="fontclass">.icon-pengyouquan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xinlang"></i>
                    <div class="name">新浪</div>
                    <div class="fontclass">.icon-xinlang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-weixin"></i>
                    <div class="name">微信</div>
                    <div class="fontclass">.icon-weixin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shoucangxuanzhong"></i>
                    <div class="name">收藏-选中</div>
                    <div class="fontclass">.icon-shoucangxuanzhong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shoucang"></i>
                    <div class="name">收藏</div>
                    <div class="fontclass">.icon-shoucang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shezhi"></i>
                    <div class="name">设置</div>
                    <div class="fontclass">.icon-shezhi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tianjia"></i>
                    <div class="name">添加</div>
                    <div class="fontclass">.icon-tianjia</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zidingyileimu"></i>
                    <div class="name">自定义类目</div>
                    <div class="fontclass">.icon-zidingyileimu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tianjialeimu"></i>
                    <div class="name">添加类目</div>
                    <div class="fontclass">.icon-tianjialeimu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-search"></i>
                    <div class="name">search</div>
                    <div class="fontclass">.icon-search</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chakan2"></i>
                    <div class="name">查看2</div>
                    <div class="fontclass">.icon-chakan2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31daifahuo"></i>
                    <div class="name">3.1待发货</div>
                    <div class="fontclass">.icon-31daifahuo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31daifukuan"></i>
                    <div class="name">3.1待付款</div>
                    <div class="fontclass">.icon-31daifukuan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31daishouhuo"></i>
                    <div class="name">3.1待收货</div>
                    <div class="fontclass">.icon-31daishouhuo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31daipingjia"></i>
                    <div class="name">3.1待评价</div>
                    <div class="fontclass">.icon-31daipingjia</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tuikuantuihuo"></i>
                    <div class="name">3.1退款退货</div>
                    <div class="fontclass">.icon-tuikuantuihuo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31jifen"></i>
                    <div class="name">3.1积分</div>
                    <div class="fontclass">.icon-31jifen</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31youhuiquan"></i>
                    <div class="name">3.1优惠券</div>
                    <div class="fontclass">.icon-31youhuiquan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31hongbao"></i>
                    <div class="name">3.1红包</div>
                    <div class="fontclass">.icon-31hongbao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31gouwuche"></i>
                    <div class="name">3.1购物车</div>
                    <div class="fontclass">.icon-31gouwuche</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31shouye"></i>
                    <div class="name">3.1首页</div>
                    <div class="fontclass">.icon-31shouye</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31wode"></i>
                    <div class="name">3.1我的</div>
                    <div class="fontclass">.icon-31wode</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-liwuhuodong"></i>
                    <div class="name">礼物 活动</div>
                    <div class="fontclass">.icon-liwuhuodong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-liebiaomoshi"></i>
                    <div class="name">列表模式</div>
                    <div class="fontclass">.icon-liebiaomoshi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhongtumoshi"></i>
                    <div class="name">中图模式</div>
                    <div class="fontclass">.icon-zhongtumoshi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-guanbi"></i>
                    <div class="name">关闭</div>
                    <div class="fontclass">.icon-guanbi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-guanzhu"></i>
                    <div class="name">关注</div>
                    <div class="fontclass">.icon-guanzhu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31saoma"></i>
                    <div class="name">3.1-扫码</div>
                    <div class="fontclass">.icon-31saoma</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31xiaoxi"></i>
                    <div class="name">3.1-消息</div>
                    <div class="fontclass">.icon-31xiaoxi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31dingdan"></i>
                    <div class="name">3.1订单</div>
                    <div class="fontclass">.icon-31dingdan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31dingwei"></i>
                    <div class="name">3.1定位</div>
                    <div class="fontclass">.icon-31dingwei</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31erweima"></i>
                    <div class="name">3.1 二维码</div>
                    <div class="fontclass">.icon-31erweima</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31pinglun"></i>
                    <div class="name">3.1 评论</div>
                    <div class="fontclass">.icon-31pinglun</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31qiandao"></i>
                    <div class="name">3.1 签到</div>
                    <div class="fontclass">.icon-31qiandao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31shouqi"></i>
                    <div class="name">3.1 收起</div>
                    <div class="fontclass">.icon-31shouqi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31xiala"></i>
                    <div class="name">3.1 下拉</div>
                    <div class="fontclass">.icon-31xiala</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31fanhui1"></i>
                    <div class="name">3.1 返回1</div>
                    <div class="fontclass">.icon-31fanhui1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-31fanhui2"></i>
                    <div class="name">3.1 返回2</div>
                    <div class="fontclass">.icon-31fanhui2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiage"></i>
                    <div class="name">3.1-价格</div>
                    <div class="fontclass">.icon-jiage</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhifubao"></i>
                    <div class="name">支付宝</div>
                    <div class="fontclass">.icon-zhifubao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-erweima"></i>
                    <div class="name">二维码</div>
                    <div class="fontclass">.icon-erweima</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yijianfankui"></i>
                    <div class="name">意见反馈</div>
                    <div class="fontclass">.icon-yijianfankui</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yuyin"></i>
                    <div class="name">语音</div>
                    <div class="fontclass">.icon-yuyin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-add"></i>
                    <div class="name">add</div>
                    <div class="fontclass">.icon-add</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-addition_fill"></i>
                    <div class="name">addition_fill</div>
                    <div class="fontclass">.icon-addition_fill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-brush"></i>
                    <div class="name">brush</div>
                    <div class="fontclass">.icon-brush</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-close"></i>
                    <div class="name">close</div>
                    <div class="fontclass">.icon-close</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-empty"></i>
                    <div class="name">empty</div>
                    <div class="fontclass">.icon-empty</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-picture"></i>
                    <div class="name">picture</div>
                    <div class="fontclass">.icon-picture</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fenxiang1"></i>
                    <div class="name">分享</div>
                    <div class="fontclass">.icon-fenxiang1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zan1"></i>
                    <div class="name">赞</div>
                    <div class="fontclass">.icon-zan1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shanguangdengdakai"></i>
                    <div class="name">闪光灯打开</div>
                    <div class="fontclass">.icon-shanguangdengdakai</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shanguangdengguanbi"></i>
                    <div class="name">闪光灯关闭</div>
                    <div class="fontclass">.icon-shanguangdengguanbi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-paizhao"></i>
                    <div class="name">拍照2</div>
                    <div class="fontclass">.icon-paizhao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jia"></i>
                    <div class="name">加</div>
                    <div class="fontclass">.icon-jia</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiugai"></i>
                    <div class="name">修改</div>
                    <div class="fontclass">.icon-xiugai</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dianziqianmingx"></i>
                    <div class="name">电子签名@2x</div>
                    <div class="fontclass">.icon-dianziqianmingx</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
